* {
  margin: 0;
  padding: 0;
  list-style: none;
}

i {
  font-style: normal;
}

html {
  height: 100%;
}

body {
  height: 100%;
  display: flex;
  flex-direction: column;
  font-size: 0.2rem;
}

header {
  width: 12.42rem;
  height: 2.8rem;
}

header > .phone {
  width: 12.42rem;
  height: 1.2rem;
}

header > .phone > img {
  width: 100%;
  height: 100%;
}

header > .classify {
  width: 12.42rem;
  height: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

header > .classify > img:nth-of-type(1) {
  width: 0.45rem;
  height: 0.36rem;
}

header > .classify > .seach {
  width: 9.4rem;
  height: 0.9rem;
  background-color: #f0f0f0;
  display: flex;
  align-items: center;
  border-radius: 0.5rem;
}

header > .classify > .seach > img {
  width: 0.4rem;
  height: 0.38rem;
  margin-left: 0.34rem;
}

header > .classify > .seach > input {
  width: 8.67rem;
  height: 0.9rem;
  background-color: #f0f0f0;
  border: 0;
  outline: none;
  box-sizing: border-box;
  padding-left: 0.25rem;
  font-size: 0.42rem;
  color: #999999;
  border-radius: 0.5rem;
}

header > .classify > img:nth-of-type(2) {
  width: 0.6rem;
  height: 0.88rem;
}

main {
  width: 12.42rem;
  height: 100%;
  flex: 1;
  overflow: hidden;
  background-color: #f5f7f9;
}

main > .content {
  position: relative;
  width: 12.42rem;
  min-height: 101%;
}

main > .content > .refresh {
  position: absolute;
  top: -0.8rem;
  width: 12.42rem;
  height: 0.8rem;
  line-height: 0.8rem;
  font-size: 0.3rem;
  font-weight: 600;
  text-align: center;
  background-color: lightcyan;
}

main > .content > .more {
  position: absolute;
  bottom: -0.8rem;
  width: 12.42rem;
  height: 0.8rem;
  line-height: 0.8rem;
  font-size: 0.3rem;
  font-weight: 600;
  text-align: center;
  background-color: lightcyan;
}

main > .content > .banner {
  width: 12.42rem;
  height: 3.98rem;
  text-align: center;
}

main > .content > .banner img {
  width: 11.75rem;
  height: 3.98rem;
}

main > .content > .introduce {
  width: 12.42rem;
  height: 1.1rem;
}

main > .content > .introduce > ul {
  width: 12.42rem;
  height: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

main > .content > .introduce > ul > li {
  padding: 0 0.6rem;
  height: 0.45rem;
  line-height: 0.45rem;
  border-right: 0.03rem solid #e6e6e6;
}

main > .content > .introduce > ul > li > img {
  width: 0.43rem;
  height: 0.43rem;
  margin-right: 0.16rem;
  vertical-align: middle;
}

main > .content > .introduce > ul > li > span {
  font-size: 0.28rem;
}

main > .content > .images {
  width: 11.7rem;
  height: 3.1rem;
  margin: 0.35rem auto 0.15rem;
}

main > .content > .images > img {
  width: 100%;
  height: 100%;
}

main > .content > .activity {
  width: 12.42rem;
  height: 8.45rem;
}

main > .content > .activity > .box {
  width: 11.75rem;
  height: 8.45rem;
  margin: auto;
  border-radius: 0.2rem;
  background-color: #fff;
}

main > .content > .activity > .box > .a-top {
  width: 11.75rem;
  height: 4.3rem;
  border-bottom: 0.03rem solid #f5f5f5;
}

main > .content > .activity > .box > .a-top > .time {
  width: 11.75rem;
  height: 1.35rem;
  border-radius: 0.2rem;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  padding-left: 0.42rem;
}

main > .content > .activity > .box > .a-top > .time > h1 {
  font-size: 0.42rem;
}

main > .content > .activity > .box > .a-top > .time > .count {
  min-width: 2.07rem;
  height: 0.54rem;
  margin-left: 0.22rem;
  margin-right: 0.3rem;
}

main > .content > .activity > .box > .a-top > .time > .count > span {
  display: inline-block;
  width: 0.54rem;
  height: 0.54rem;
  line-height: 0.54rem;
  text-align: center;
  font-size: 0.26rem;
  color: #fff;
  border-radius: 0.1rem;
  background-color: #333333;
}

main > .content > .activity > .box > .a-top > .time > .count > i {
  font-size: 0.4rem;
}

main > .content > .activity > .box > .a-top > .time > p {
  font-size: 0.3rem;
  color: #999999;
}

main > .content > .activity > .box > .a-top > .cosmetics {
  width: 11.75rem;
  height: 2.95rem;
}

main > .content > .activity > .box > .a-top > .cosmetics > ul {
  width: 11.75rem;
  height: 2.95rem;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

main > .content > .activity > .box > .a-top > .cosmetics > ul > li {
  width: 1.75rem;
  text-align: center;
}

main > .content > .activity > .box > .a-top > .cosmetics > ul > li > p {
  font-size: 0.3rem;
}

main > .content > .activity > .box > .a-top > .cosmetics > ul > li > p > span {
  color: #000;
}

main > .content > .activity > .box > .a-top > .cosmetics > ul > li > p > del {
  color: #999999;
}

main > .content > .activity > .box > .a-top > .cosmetics > ul > li:nth-of-type(1) img {
  width: 0.88rem;
  height: 1.23rem;
  margin-bottom: 0.64rem;
}

main > .content > .activity > .box > .a-top > .cosmetics > ul > li:nth-of-type(2) img {
  width: 1.65rem;
  height: 1.32rem;
  margin-bottom: 0.56rem;
}

main > .content > .activity > .box > .a-top > .cosmetics > ul > li:nth-of-type(3) img {
  width: 0.44rem;
  height: 1.63rem;
  margin-bottom: 0.25rem;
}

main > .content > .activity > .box > .a-top > .cosmetics > ul > li:nth-of-type(4) img {
  width: 1.12rem;
  height: 1.22rem;
  margin-bottom: 0.66rem;
}

main > .content > .activity > .box > .a-bottom {
  width: 11.75rem;
  height: 4.12rem;
  display: flex;
}

main > .content > .activity > .box > .a-bottom > .b-left {
  border-right: 0.02rem solid #f5f5f5;
  flex: 1;
  padding-left: 0.42rem;
  box-sizing: border-box;
}

main > .content > .activity > .box > .a-bottom > .b-left > h1 {
  font-size: 0.44rem;
  margin-top: 0.44rem;
  margin-bottom: 0.28rem;
}

main > .content > .activity > .box > .a-bottom > .b-left > p {
  font-size: 0.28rem;
  margin-bottom: 0.4rem;
  color: #999999;
}

main > .content > .activity > .box > .a-bottom > .b-left > img:nth-of-type(1) {
  width: 1.4rem;
  height: 1.5rem;
  margin-left: 0.5rem;
  margin-right: 1.62rem;
}

main > .content > .activity > .box > .a-bottom > .b-left > img:nth-of-type(2) {
  width: 1.02rem;
  height: 1.5 rem;
}

main > .content > .activity > .box > .a-bottom > .b-right {
  flex: 1;
  padding-left: 0.42rem;
  box-sizing: border-box;
}

main > .content > .activity > .box > .a-bottom > .b-right > h1 {
  font-size: 0.44rem;
  margin-top: 0.44rem;
  margin-bottom: 0.28rem;
}

main > .content > .activity > .box > .a-bottom > .b-right > p {
  margin-bottom: 0.8rem;
}

main > .content > .activity > .box > .a-bottom > .b-right > p > img {
  width: 0.44rem;
  height: 0.44rem;
  vertical-align: bottom;
}

main > .content > .activity > .box > .a-bottom > .b-right > p > span {
  display: inline-block;
  height: 0.44rem;
  line-height: 0.44rem;
  font-size: 0.3rem;
  margin-left: 0.15rem;
  color: #999999;
}

main > .content > .activity > .box > .a-bottom > .b-right > img:nth-of-type(1) {
  width: 0.92rem;
  height: 1rem;
  margin-left: 0.62rem;
  margin-right: 1.88rem;
}

main > .content > .activity > .box > .a-bottom > .b-right > img:nth-of-type(2) {
  width: 0.96rem;
  height: 1rem;
}

main > .content > .nav {
  width: 12.42rem;
  height: 1.52rem;
}

main > .content > .nav > ul {
  width: 12.42rem;
  height: 1.52rem;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

main > .content > .nav > ul > li {
  color: #999999;
}

main > .content > .nav > ul > li > span {
  font-size: 0.4rem;
}

main > .content > .nav > ul > li > p {
  width: 0.65rem;
  height: 0.06rem;
  margin: auto;
  margin-top: 0.15rem;
  background-color: transparent;
  border-radius: 0.5rem;
}

main > .content > .nav > ul > li.nav-active {
  color: #000;
}

main > .content > .nav > ul > li.nav-active p {
  background-color: red;
}

main > .content > .list {
  width: 12.42rem;
}

main > .content > .list ul {
  width: 12.42rem;
  display: flex;
  flex-wrap: wrap;
}

main > .content > .list ul > li {
  width: 5.98rem;
  height: 9.2rem;
  background-color: #fff;
  border-radius: 0.2rem;
  margin-left: 0.15rem;
  margin-bottom: 0.15rem;
}

main > .content > .list ul > li > img {
  width: 5.98rem;
  height: 5.99rem;
}

main > .content > .list ul > li > h2 {
  font-size: 0.38rem;
  margin: 0.1rem 0rem 0.32rem;
  margin-left: 0.32rem;
}

main > .content > .list ul > li > p {
  font-size: 0.38rem;
  color: #666666;
  margin-bottom: 0.45rem;
  margin-left: 0.32rem;
}

main > .content > .list ul > li > span:nth-of-type(1) {
  color: red;
  font-size: 0.34rem;
  vertical-align: bottom;
  margin-left: 0.4rem;
}

main > .content > .list ul > li > span:nth-of-type(2) {
  display: inline-block;
  text-align: center;
  width: 1.03rem;
  height: 0.39rem;
  line-height: 0.39rem;
  background-color: red;
  border-radius: 0.05rem;
  font-size: 0.24rem;
  margin-left: 0.3rem;
}

footer {
  width: 12.42rem;
  height: 2.34rem;
}

footer > .f-nav {
  width: 12.42rem;
  height: 1.6rem;
}

footer > .f-nav > ul {
  width: 12.42rem;
  height: 1.6rem;
  align-items: center;
  display: flex;
  justify-content: space-around;
}

footer > .f-nav > ul > li {
  position: relative;
  font-size: 0.5rem;
  color: #999999;
}

footer > .f-nav > ul > li > img {
  width: 1.38rem;
  height: 1.02rem;
}

footer > .f-nav > ul > li > span {
  position: absolute;
  width: 0.27rem;
  height: 0.27rem;
  border-radius: 50%;
  background-color: red;
}

footer > .f-nav > ul > li.f-nav-active {
  color: #000;
}

footer > .line {
  width: 12.42rem;
  height: 0.74rem;
  line-height: 0.74rem;
}

footer > .line > p {
  width: 4.44rem;
  height: 0.15rem;
  margin: auto;
  background-color: #000;
  border-radius: 0.5rem;
}

.wrap {
  position: fixed;
  width: 12.42rem;
  height: 100%;
  display: none;
  background: rgba(0, 0, 0, 0.5);
}

.wrap > .subnav {
  position: absolute;
  left: 0;
  top: 0;
  width: 7.5rem;
  height: 100%;
  background-color: #fff;
}

.wrap > .subnav > .red {
  width: 7.5rem;
  height: 1rem;
}

.wrap > .subnav > .red > img {
  width: 100%;
  height: 100%;
}

.wrap > .subnav .title {
  width: 7.5rem;
  height: 3.1rem;
  line-height: 3.1rem;
  padding-left: 0.93rem;
  box-sizing: border-box;
}

.wrap > .subnav .title > h1 {
  font-size: 0.66rem;
}

.wrap > .subnav .sublist {
  width: 7.5rem;
  height: 100%;
  padding: 0 0.9rem;
  box-sizing: border-box;
}

.wrap > .subnav .sublist > ul > li > img {
  width: 0.5rem;
  height: 0.5rem;
  vertical-align: bottom;
  margin-right: 0.43rem;
}

.wrap > .subnav .sublist > ul > li > span {
  font-size: 0.38rem;
}

.wrap > .subnav .sublist > ul:nth-of-type(1) > li:nth-of-type(1) {
  padding-bottom: 0.8rem;
}

.wrap > .subnav .sublist > ul:nth-of-type(1) > li:nth-of-type(2) {
  padding-bottom: 0.71rem;
  border-bottom: 0.01rem solid #999999;
}

.wrap > .subnav .sublist > ul:nth-of-type(2) > li {
  padding-bottom: 0.8rem;
}

.wrap > .subnav .sublist > ul:nth-of-type(2) > li:nth-of-type(1) {
  padding-top: 0.71rem;
}

.wrap > .subnav .sublist > ul:nth-of-type(2) > li:nth-of-type(5) {
  padding-bottom: 0.71rem;
  border-bottom: 0.01rem solid #999999;
}

.wrap > .subnav .sublist > ul:nth-of-type(3) > li {
  padding-bottom: 0.8rem;
}

.wrap > .subnav .sublist > ul:nth-of-type(3) > li:nth-of-type(1) {
  padding-top: 0.71rem;
}
